public class Test {
    //比大小
    public static  int max(int a,int b){

        return a > b ? a : b;
    }
    public static  int max(int a,int b,int c){
        int ret =max(a,b);
        return ret > c ? ret : c;
    }

    public static void main(String[] args) {

        System.out.println(max(1, 2, 3));


    }
}
